from pathlib import Path
from PySide6.QtGui import QIcon

def get_app_icon():
    """获取应用程序图标"""
    icon_path = Path(__file__).parent / 'icon.png'
    return QIcon(str(icon_path)) 